<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <script src="../page/angular.min.js"></script>
    <script src="../js/service/userService.js"></script>
    <script src="../js/controller/userController.js"></script>

    <link href="../css/bootstrap.min.css" rel="stylesheet"/>
    <link href="../css/font-awesome.min.css" rel="stylesheet"/>
    <link href="../css/style.css" rel="stylesheet"/>
    <link href="../css/login.min.css" rel="stylesheet"/>
    <link href="../ruoyi/css/ry-ui.css" rel="stylesheet"/>
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <link rel="shortcut icon" href="../favicon.ico"/>
    <style type="text/css">label.error { position:inherit;  }</style>
    <script>
        if(window.top!==window.self){window.top.location=window.location};
    </script>
</head>
<body ng-app="app" ng-controller="userController" ng-init="initMethod()" class="signin">

<div class="signinpanel">
    <div class="row">
        <div class="col-sm-7">
            <div class="signin-info">
                <div class="logopanel m-b">
                    <h1><img alt="[ 若依 ]" src="../ruoyi.png" src="/ruoyi.png"></h1>
                </div>
                <div class="m-b"></div>
                <h4> <strong>秒速侠</strong></h4>


            </div>
        </div>
        <div class="col-sm-5">
            <form id="signupForm">
                <h4 class="no-margins">注册：</h4>
                <input type="text"  ng-model="User.mobile" ng-blur="judgePhone()" class="form-control uname"     placeholder="手机号"/><span>{{phoneSpan}}</span>
                <div class="row m-t" >
                    <div class="col-xs-6">
                        <input type="text" ng-model="code" class="form-control code" placeholder="验证码" maxlength="6" autocomplete="off">
                    </div>
                    <div class="col-xs-6">
                        <a href="javascript:void(0);" ng-click="codeSms(User.mobile)">
                            发送验证码

                        </a>
                    </div>

                    <div>
                        <input type="password" ng-model="oldpwd" ng-blur="judgeCount()" class="form-control pword" placeholder="密码"/><span>{{oldPwdSpan}}</span>

                        <input type="password" ng-model="User.password" ng-blur="confirmMM(User.password)" class="form-control pword" placeholder="确认密码"/><span>{{newPwdSpan}}</span>
                    </div>

                    <div>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <a href="javascript:void(0);" >密码长度必须为6到18位</a>
                    </div>
                    <button class="btn btn-success btn-block" data-loading="正在注册，请稍后..." ng-click="register()">注册</button>
                </div>
            </form>
        </div>
    </div>
    <div class="signup-footer">
        <div class="pull-left">

        </div>
    </div>
</div>
</body>
</html>